import _00GraphFuc as gf
import _00GraphTreeFuc as gt

#构建二叉树
m=20
V=range(m)
V=sorted(V)
tree= gt.createbitree(V)
gtree=gt.tree2graph(tree)
gf.drawgraph(gtree)
print("tree",tree)
print(gtree)